
using System.ComponentModel.DataAnnotations;

using System;
using System.Runtime.Serialization;


namespace Timetable.Base.Entities
{
    [DataContract(IsReference = true)]
    public class Schedule : BaseEntity
    {
        [DataMember(Name = "Auditorium")]
        public Auditorium Auditorium { get; set; }

        [DataMember(Name = "DayOfWeek")]
        public int DayOfWeek { get; set; }

        [DataMember(Name = "EndDate")]
        public DateTime EndDate { get; set; }

        [DataMember(Name = "Period")]
        public Time Period { get; set; }

        [DataMember(Name = "StartDate")]
        public DateTime StartDate { get; set; }

        [DataMember(Name = "ScheduleInfo")]
        public ScheduleInfo ScheduleInfo { get; set; }

        [DataMember(Name = "WeekType")]
        public WeekType WeekType { get; set; }
    }
}
